<?php
	class Category extends BaseModel {

		private $idCategory;
		private $division;
		private $name;

		public function getIdCategory() {
			return $this->idCategory;
		}
		
		public function setIdCategory($value) {
			$this->idCategory = $value;
		}
		
		public function getDivision() {
			return $this->division;
		}
		
		public function setDivision($value) {
			$this->division = $value;
		}
		
		public function getName() {
			return $this->name;
		}
		
		public function setName($value) {
			$this->name = $value;
		}
		
		public function required() {
			return array(
				"idCategory" => $this->idCategory,
				"division" => $this->division,
				"name" => $this->name
			);
		}

		public function json() {
			return array(
				"idCategory" => $this->idCategory,
				"division" => $this->division,
				"name" => $this->name
			);
		}

	}